﻿using System;
using System.Collections.Generic;

using System.Text;
using RebellionII.GameObjects;

namespace RebellionII.GameObjects.Units.Instances
{
    public class CapitalShipInstance : UnitInstance
    {
        List<UnitInstance> lTroops;
        List<UnitInstance> lFighters;
        List<Character> lCharacters;

        public CapitalShipInstance(int GUID)
            :base(GUID)
        {
            iReferenceID = GUID;
        }

        public CapitalShipInstance(CapitalShip tempUnit)
            :base(tempUnit, State.Normal)
        {
            iReferenceID = tempUnit.iUniqueID;
            if (tempUnit.iTroopCapacity > 0)
                lTroops = new List<UnitInstance>(tempUnit.iTroopCapacity);

            if (tempUnit.iFighterCapacity > 0)
                lFighters = new List<UnitInstance>(tempUnit.iFighterCapacity);

            lCharacters = new List<Character>(5);

        }
    }
}
